import {useState} from 'react';
import {View} from "@tarojs/components";
import './index.scss'
import Tabs from './tabs'
import ItemBox from './itembox'
import Btns from "./btns";

export default function PiGai() {
  const [list] = useState([{id: 1}, {id: 2}, {id: 3}])
  return(
    <View className='PiGai-box tyhezibox'>
      <View className='left PiGai-box-left'>
        <Tabs />
      </View>
      <View className='right PiGai-box-right'>
        <View className='box'>
          {
            list.map(item => <ItemBox key={item.id} />)
          }
        </View>
        <Btns />
      </View>
    </View>
  )
}
